<template>home</template>

<script lang="ts" setup>
import { onMounted } from 'vue';
import { useRouter } from 'vue-router';


const router = useRouter()

onMounted(()=>{
    setTimeout(()=>{
        //三秒钟跳转新闻页
        router.push({name:'News'})
    }, 3000)
})
</script>